﻿using PioneerBoilerplate.Service.OprationLog.Input;
using AutoMapper;
using PioneerBoilerplate.Model.Admin;
using System.Collections.Generic;
using PioneerBoilerplate.Service.OprationLog.Output;

namespace PioneerBoilerplate.Service.OprationLog
{
    /// <summary>
    /// 映射配置
    /// </summary>
    public class MapConfig : Profile
    {
        public MapConfig()
        {
            CreateMap<OprationLogAddInput, OprationLogEntity>();

            CreateMap<OprationLogEntity, OprationLogListOutput>();
            CreateMap<OprationLogListOutput, OprationLogEntity>();
        }
    }
}